package com.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.xml.*;
import java.util.*;
public class listAction implements Action {

	@Override
	public String execute(HttpServletRequest req,
			HttpServletResponse res)
			throws Exception {
		SawonXML xml=SawonXML.newInstance();
		ArrayList<SawonVO> list=xml.getSawonData();
		req.setAttribute("list", list);
		return "success";
	}

}





